package com.mxf.example.entity.file;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

/**
 * Created by linsenmumu on 2020/10/15.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FileDocument {
    @ApiModelProperty(value = " 文件原名称 ")
    private String fileName;
    @ApiModelProperty(value = "  文件MD5 ")
    private String fileMd5;
    @ApiModelProperty(value = " 文件大小 ")
    private long fileSize;
    @ApiModelProperty(value = " 文件头 ")
    private String contentType;
    @ApiModelProperty(value = " 文件上传时间 ")
    private Date uploadDate;
    @ApiModelProperty(value = " 文件前缀 ")
    private String suffix;
    @ApiModelProperty(value = " 文件 ")
    private byte[] content;
}
